import { Button } from 'antd';
import { useNavigate } from 'react-router-dom';

const AntdColorTextButton = () => {
    const navigate = useNavigate();
    const handleToResume = () => {
        navigate('/AntdColorText');
    }

    return (<>
        <Button type='primary' 
            onClick={handleToResume}
            style={{ 
                backgroundColor: '#FB7299',
                color: 'white', 
            }}
        >文字颜色展示</Button>
    </>)
}

export default AntdColorTextButton;